//
//  GetHTMLSource.h
//  KotnetAutologin
//
//  Created by Kristof Marien on 4/01/10.
//  Copyright 2010 KotnetAutologin. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@interface GetHTMLSource : NSObject {
	NSString *url;
	NSString *data;
	NSMutableData *receivedData;
	NSMutableURLRequest *theRequest;
	NSURLConnection *theConnection;
	id delegate;
	SEL receivedCallback;
	SEL errorCallback;
}

@property(nonatomic, retain) NSString *url;
@property(nonatomic, retain) NSString *data;
@property(nonatomic, retain) id delegate;
@property(nonatomic) SEL receivedCallback;
@property(nonatomic) SEL errorCallback;

- (void) getSource:(id)requestDelegate receivedSelector:(SEL)receivedSelector  errorSelector:(SEL)errorSelector;
@end
